package com.aaa.sql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @program: java-sqlyuju1
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-13 19:39
 * @version:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dept {
    /**
     * 一对多
     */
    private Integer deptNo;
    private  String deptName;
    private  String loc;
    private List<Emp> empList;
}
